from mongokit import *

class MongoDBManager(object):
    connection = None

    def get_connection(self):
        if self.connection is None:
            self.connection = Connection()

        return self.connection
